from AOPy import *
from Aspects import Logger

 
@weave
def run():
    print "im running"       
        
def main():
    
    logger = Logger("run","0", ["0"])
    print logger.signature
    pc = getPointcutter()
    pc.addPointcuter(logger)
    
    
    run()
    logger.setPointcut("notrun","0", ["0"])
    run()
    
main()
    
